package com.qtu.order_service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qtu.entity.BmInorderlist;
import com.qtu.order_service.entity.AllOrder;
import com.qtu.order_service.entity.BmmemberOrder;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2020-07-06
 */
@Repository
public interface BmInorderlistMapper extends BaseMapper<BmInorderlist> {
    public List<AllOrder> getAllOrder(Integer sellerId);
    public List<AllOrder> getPayment(Integer sellerId);
    public List<AllOrder> getDeliverGoods(Integer sellerId);
    public List<AllOrder> getReceivingGoods(Integer sellerId);
    public List<AllOrder> getCompleted(Integer sellerId);
    public List<BmmemberOrder> getDetails(Integer orderId);
}
